package cn.eng.user.mapper;

import cn.eng.user.domain.User;
import cn.eng.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author BoBo
 * @since 2022-12-21
 */
public interface UserMapper extends BaseMapper<User> {
    //根据phone查询是否有数据
    User loadByPhone(String phone);
    //根据 wxuser 里面的user_id ，去查询user
    User loadByUserId(Long userId);
    //根据logininfoID 查询user数据
    User loadByLogininfoId(Long id);
}
